#include "Solution.h"
#include <iostream>

using namespace std;
int main()
{
	int n = 12;
	vector<int> r = Solution().grayCode(n);
	for(size_t i=0;i<r.size();i++)
	{
		cout<<r[i]<<endl;
	}
	cin.get();
}